import { createApp } from 'vue'
import App from './App.vue'

// 引入路由
import router from './router'

// 引入vuetify
import vuetify from './plugins/vuetify'

// 引入tailwind
import './styles/tailwind.css'

// 引入css
import './assets/icon/iconfont.css'

// 引入elementPlus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 引入字体载入器
import { loadFonts } from './plugins/webfontloader'
loadFonts()

// 引入状态管理pinia
import { createPinia } from 'pinia'
const pinia = createPinia()


createApp( App )
  .use( router )
  .use( vuetify )
  .use( pinia )
  .use( ElementPlus )
  .mount( '#app' )
